function getdiffstatuscontent(url, parameters, $pagecontainer) {
				myAjax(url, parameters, function(data) {
					drawDiffStatusContent($pagecontainer, data, parameters);
					ldata = data;
				
				});

			}
function further(className, id) {
	var index = id.replace(className, "");

	if (className == 'del') {
		opFunction(domain + '/deletePtJob.do', {
			'id' : ldata[index].id
		}, 'JobFinished.jsp')
	}
	if (className == 'restart') {
		opFunction(domain + '/startagain.do', {
			'id' : ldata[index].id
		}, 'Job-Posted.jsp');
	}
	if (className == 'view') {
		opFunction(domain + '/editPtJob.do', {
			'id' : ldata[index].id
		}, 'Job-Posted.jsp')
	}
}

function opFunction(url, data, location) {
	myAjax(url, data, function(msg) {
window.location.href = location;
	});
}
function changepage(a) {
	if (a.innerHTML === '第一页')
		currentpage = 1;
	else if (a.innerHTML === '最末页')
		currentpage = pages;
	else if (a.innerHTML === '上一页')
		currentpage -= 1;
	else if (a.innerHTML === '下一页')
		currentpage += 1;
	else
		currentpage = a.innerHTML;
	$ul.empty();
	drawPages($ul, currentpage, pages, 10);
	$pagecontainer.empty();
	getdiffstatuscontent(domain + '/getDiffStatusPtJob.do', {
		'page' : currentpage,
		'status' : 29
	}, $pagecontainer);
	return false;
}
